package nc.ui.tools.FunSwitch.salebill;

import nc.ui.pub.bill.BillEditEvent;
import nc.ui.so.so001.panel.SaleBillUI;
import nc.ui.tools.FunSwitch.FunSwitch;
import nc.ui.tools.FunSwitch.IFunSwitch;
import nc.ui.tools.MyUI.FakeUI_SaleBillUI;

public abstract class SaleBillUIAfterISwitch  extends FakeUI_SaleBillUI  implements IFunSwitch{

	public SaleBillUIAfterISwitch(SaleBillUI saleBillUI) {
		super(saleBillUI);
	}

	public void update(FunSwitch obj, Object action) {
		nc.ui.tools.FunSwitch.salebill.AfterSwitch Switch=(AfterSwitch) obj;
		BillEditEvent e=Switch.e;
		try {
			deal(e);
		} catch (Exception e1) {
			e1.printStackTrace();
		}
}
public abstract void deal(BillEditEvent e)throws Exception;


}
